(function(window, document) {
    // 地图类  包含宽高，背景色，xy偏移量
    class Map extends Render {
        constructor(width, height, bgColor, x, y) {
            super(width, height, bgColor, x, y);
            this.width = width * 60;
            this.height = height * parseInt(document.documentElement.clientHeight / document.documentElement.clientWidth * 60);
            this.bgColor = bgColor || '#fff';
            this.x = x || 0;
            this.y = y || 0;
        }
        initial = function(width, height, bgColor, x, y) {
            this.width = width * 60;
            this.height = height * parseInt(document.documentElement.clientHeight / document.documentElement.clientWidth * 60);
            this.bgColor = bgColor || '#fff';
            this.x = x || 0;
            this.y = y || 0;
        }
    }
    window.Map = Map;
}(window, document))